package com.doordu.soa.service.data.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.doordu.soa.service.data.entity.ParkingCompany;
import com.doordu.soa.service.data.entity.example.ParkingCompanyExample;
/**
 * 停车场公司dao
 * @ClassName: ParkingCompanyMapper
 * @Description: 
 * @author xiaoqun.yi yixq@doordu.com  
 * @date 2017年8月31日 下午1:38:53
 * @version V1.0
 */
public interface ParkingCompanyMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int countByExample(ParkingCompanyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int deleteByExample(ParkingCompanyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int deleteByPrimaryKey(Long companyId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int insert(ParkingCompany record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int insertSelective(ParkingCompany record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    List<ParkingCompany> selectByExample(ParkingCompanyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    ParkingCompany selectByPrimaryKey(Long companyId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:50 CST 2017
     */
    int updateByExampleSelective(@Param("record") ParkingCompany record, @Param("example") ParkingCompanyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:51 CST 2017
     */
    int updateByExample(@Param("record") ParkingCompany record, @Param("example") ParkingCompanyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:51 CST 2017
     */
    int updateByPrimaryKeySelective(ParkingCompany record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table parking.parking_company
     *
     * @mbggenerated Thu Aug 31 11:29:51 CST 2017
     */
    int updateByPrimaryKey(ParkingCompany record);
}